package top.zhuyougu.service;

import top.zhuyougu.common.ResponseResult;
import top.zhuyougu.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 系统管理-权限资源表  服务类
 * </p>
 *
 * @author 猪油骨
 * @since 2022-12-10 01:15:43
 */
public interface MenuService extends IService<Menu>{

    List<Menu> listMenuTree(List<Menu> list);

    ResponseResult listMenuApi(Integer id);

    ResponseResult insertMenu(Menu menu);

    ResponseResult updateMenu(Menu menu);

    ResponseResult deleteMenuById(Integer id);
}
